package com.bst.bsj.common.dal.dataobject;

import com.sylinxsoft.tools.BaseDO;
import com.sylinxsoft.tools.annotation.BoConfig;
import com.sylinxsoft.tools.annotation.BoFieldConfig;

/**
 * 区域
 * 
 * @author han 2016年4月19日 上午11:46:17
 */
@BoConfig(tableName = "t_sys_city_area")
public class Area extends BaseDO {

    /**
     * 名称
     */
    @BoFieldConfig(columnName = "name")
    private String name;

    /**
     * 父级（表中为自身）
     */
    @BoFieldConfig(columnName = "parent")
    private Long   parent;

    /**
     * 编码
     */
    @BoFieldConfig(columnName = "number")
    private String number;

    /**
     * 省份
     */
    @BoFieldConfig(columnName = "province")
    private Long   province;

    /**
     * 城市
     */
    @BoFieldConfig(columnName = "city")
    private Long   city;

    /**
     * 分区
     */
    @BoFieldConfig(columnName = "district")
    private Long   district;

    /**
     * 区域状态
     */
    @BoFieldConfig(columnName = "status")
    private String status;

    /**
     * 省份、城市、区域
     */
    @BoFieldConfig(columnName = "type")
    private String type;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParent() {
        return parent;
    }

    public void setParent(Long parent) {
        this.parent = parent;
    }

    public Long getProvince() {
        return province;
    }

    public void setProvince(Long province) {
        this.province = province;
    }

    public Long getCity() {
        return city;
    }

    public void setCity(Long city) {
        this.city = city;
    }

    public Long getDistrict() {
        return district;
    }

    public void setDistrict(Long district) {
        this.district = district;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
